#!/bin/bash
echo ==========sign $apk_name=====================
time_now=`date "+%Y%m%d%H%M"`
jarsigner -verbose -digestalg SHA1 -sigalg SHA1withRSA -keystore mirrorcast_aw.key -signedjar tmp_target/"$time_now"_signed_"$apk_name"  $apk_name mirrorcast_aw -storepass mirrorcastisgood > sign_log.txt
echo =============checking signed target/"$time_now"_signed_"$apk_name"============== >> sign_log.txt
jarsigner -certs -verify tmp_target/"$time_now"_signed_"$apk_name"  >> sign_log.txt
